<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			.box{
				width:1200px;
				height:300px;
				border:4px solid #000;
				margin:50px auto;
				overflow:hidden;
			}
			ul{
				width:2000px;
				height:300px;
			}
			.box li{
				float:left;
				width:240px;
				height:300px;
			}
			ul,li{padding:0;margin:0;list-style: none;}
		</style>
		<script type="text/javascript" src="js/jquery-1.12.4.min.js" ></script>
		
	</head>
	<body>
		<div class="box">
			<ul>
				<li><img src="pic/01.jpg" alt="" /></li>
				<li><img src="pic/02.jpg" alt="" /></li>
				<li><img src="pic/03.jpg" alt="" /></li>
				<li><img src="pic/04.jpg" alt="" /></li>
				<li><img src="pic/05.jpg" alt="" /></li>
			</ul>
		</div>
	</body>
	<script type="text/javascript">
		$('li').hover(function(){
			$(this).stop().animate({'width':'500px'},200);
            $(this).siblings().stop().animate({'width':'175px'},200)

		},function(){
			$('li').stop().animate({"width":"240px"},200)
		})
	</script>
</html>
